package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.pojo.CheckItem;
import com.itheima.pojo.Permission;

import java.util.List;

/**
 * 检查项服务接口
 */
public interface PermissionService {


    public void add(Permission permission);

    public PageResult pageQuery(Integer currentPage, Integer pageSize, String queryString);

    public void delete(Integer id);

    public List<Permission> findAll();

    public Permission findById(Integer id);

    public void edit(Permission permission);

    List<Integer> findIdsByRoleId(Integer roleId);
}
